package com.qfedu.edu.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaobobo
 * @since 2025-03-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_perm")
@ApiModel(value="Perm对象", description="")
public class Perm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单id")
    @TableId(value = "perm_id", type = IdType.ID_WORKER_STR)
    private String permId;

    @ApiModelProperty(value = "父亲id")
    private String parentId;

    @ApiModelProperty(value = "权限值")
    private String permVal;

    @ApiModelProperty(value = "路由索引")
    private String routerIndex;

    @ApiModelProperty(value = "显示图标")
    private String icon;

    @ApiModelProperty(value = "分类等级")
    private Integer typeLevel;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "版本号")
    @TableField("VERSION")
    private Integer version;

    @ApiModelProperty(value = "逻辑删除（0代表正常，1代表删除）")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "标题")
    private String title;


}
